package com.rimi.bean;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;

/**
 * <p>
 * InnoDB free: 11264 kB; (`user_id`) REFER `owl_video/user`(`user_id`); (`video_id
 * </p>
 *
 * @author sky
 * @since 2018-06-06
 */
public class Comment implements Serializable {


    private static final long serialVersionUID = 1L;

    @TableId(value = "comment_id", type = IdType.AUTO)
    private Integer commentId;
    @TableField("video_id")
    private Integer videoId;
    @TableField("user_id")
    private Integer userId;
    @TableField("comment_content")
    private String commentContent;
    @TableField("comment_good")
    private Integer commentGood;
    @TableField("comment_time")
    private Date commentTime;


    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Integer getVideoId() {
        return videoId;
    }

    public void setVideoId(Integer videoId) {
        this.videoId = videoId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public Integer getCommentGood() {
        return commentGood;
    }

    public void setCommentGood(Integer commentGood) {
        this.commentGood = commentGood;
    }

    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }

    @Override
    public String toString() {
        return "Comment{" +
        ", commentId=" + commentId +
        ", videoId=" + videoId +
        ", userId=" + userId +
        ", commentContent=" + commentContent +
        ", commentGood=" + commentGood +
        ", commentTime=" + commentTime +
        "}";
    }
}
